package pam.core;

public class SimpleXMLObject implements XMLObject {

	private String value;

	public SimpleXMLObject(String value) {
		super();
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String toXML() {
		StringBuffer sb = new StringBuffer();
		sb.append("<Value>");
		sb.append(getValue() == null ? "" : getValue());
		sb.append("</Value>");
		return sb.toString();
	}

}
